Repository navigation
perf(ifc): read only the Levels' own records for a storey's EntranceLevel, and none where no parameter is named for it - #1227
Merged
Conversation
…evel, and none where no parameter is named for it
DrunkOnJava
marked this pull request as ready for review
October 31, 2026 16:19
Owner
Author
|
Automated Claude Code review (the maintainer's review agent; it read the diff and the Measure artifacts and ran nothing heavy): ready, no blocking or should-fix items.
|
DrunkOnJava
enabled auto-merge (squash)
October 31, 2026 16:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the read-only code-quality pass (item 4). Each storey's
EntranceLevel(RE-275) was read throughnative_element_parameters::read. That read selects everyFamilySymbol,Family,MaterialElemand system type record by class, so it can add type values and name ElementId values. A Level has no type, and only its own instance value is used.native_element_parameters::read_own_definedreads the records of the given ids alone.read_definedis unchanged and shares the body with it.ifc::storey_properties::readuses it with a definition filter, so a file that defines no parameter namedPset_BuildingStoreyCommon.EntranceLevelorEntranceLevelskips the per-element pass entirely (feat(ifc): write a wall's IsExternal and the parameters named for a property on Revit 2015 to 2023 (#1158) (RE-283) #1182's filter).Output is unchanged by construction: a Level has no master symbol, so the class-selected records never contributed to it. A Measure run with
timingand every model checks byte identity and time, against the merge base08c6a627.No changelog fragment (no user-visible change).
Measured (41213627883, against
08c6a627on one runner, median of three alternating runs per file):rvt-ifctime for all 66 timed files together: 483 s before, 449 s after (median file 0.92).The gain comes from files that define no
EntranceLevelparameter. They no longer pay for a native pass over every type, family and material record.