Closed jedelbo closed 2 months ago
@tgoyne I was not able to reproduce the issue you described in #7847 on my machine, so I am not able to tell if this PR actually fixes it. Can you help here?
This cuts the -O0 stack space used on the recursive path a bit so it'll reduce the maximum stack space required for an index update. There isn't really a clear answer to if it's by enough.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/realm/index_string.cpp | 59 | 61 | 96.72% | ||
<!-- | Total: | 82 | 84 | 97.62% | --> |
Totals | |
---|---|
Change from base Build 2575: | 91.1% |
Covered Lines: | 217348 |
Relevant Lines: | 238556 |
@ironage please have a second look. I have made some more changes.
The size of Node and Array decresed from 64 and 128 to 56 and 112. Some redundant code removed in Spec class.
What, How & Why?
The second commit may fix #7847
☑️ ToDos
bindgen/spec.yml
, if public C++ API changed