Commit 3f9696a
committed
fix(SpecialNetworkField): don't use query to identify interface representation #749
This commit addresses an issue where loading a SpecialNetworkField from its internal format could result in all NetworkInterface objects be loaded each time. This could cause major delays and CPU utilization when reading many objects containing this field, as it would also load all NetworkInterface objects for each instance. Instead of using query to identify an interface's representation value, we know simply rely on the base InterfaceField to handle the conversion and check if anything was actually converted.1 parent b1293cc commit 3f9696a
1 file changed
Lines changed: 6 additions & 5 deletions
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
314 | 315 | | |
315 | 316 | | |
316 | | - | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
0 commit comments