Skip to content

Reduce memory consumption #284

Description

@leonardehrenfried

I'm working on a NeTEx file that is 12GB (!) large and I'm noticing that this library consumes quite a bit of memory.

I would like to increase memory efficiency and I'm wondering if the following changes would be okay for you:

  • Using ints instead of BigInteger: PassingTimes have an order attribute which is unlikely to need the BigInteger
  • Deduplicating LocalTime instances
  • Potentially deduplicating string refs (but I'm not sure if this will really help)

@vpaturet @assadriaz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions