linkedin / rest.li

Rest.li is a REST+JSON framework for building robust, scalable service architectures using dynamic discovery and simple asynchronous APIs.
rest.li
Other
2.51k stars 546 forks source link

change the innitialize size of resolvedProperties to 0 in order to save memory pre-allocated #880

Closed junchuanwang closed 1 year ago

junchuanwang commented 1 year ago

As fix for following issue https://github.com/linkedin/rest.li/issues/879

idarmans commented 1 year ago

There's a similar field in https://github.com/linkedin/rest.li/blob/2d3d436566428036de0220bc8e66772961a5a893/data/src/main/java/com/linkedin/data/schema/RecordDataSchema.java#L418 that can be initialized to 0 as well

junchuanwang commented 1 year ago

There's a similar field in

https://github.com/linkedin/rest.li/blob/2d3d436566428036de0220bc8e66772961a5a893/data/src/main/java/com/linkedin/data/schema/RecordDataSchema.java#L418

that can be initialized to 0 as well

Thanks. Did