Skip to content

Rewriter 메모리 관리 #10

@bongjunj

Description

@bongjunj

From #6

현재 Rewriter는 C++ 측에서 작동하고 OCaml에서 Rewriter.t 값을 더이상 사용하지 않아도 메모리 해제되지 않음.

처리(파싱)하는 C++ 소스코드의 크기가 큰 경우 이 모듈을 사용하는 프로그램이 메모리를 불필요하게 많이 사용할 수 있으므로 메모리 해제 기능을 제공해야 함.

  • 최선의 방법: Rewriter.t를 더이상 사용하지 않으면 알아서 C++ Rewriter 개체를 반환.
  • 간단한 방법: Rewriter.t를 해제하는 API 제공

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions