Issue 24296 - Replace bloated object.d with object.di
Summary: Replace bloated object.d with object.di
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2023-12-21 23:02 UTC by Walter Bright
Modified: 2023-12-24 13:03 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2023-12-21 23:02:48 UTC
So it will compile faster. For example, the unittests should be moved to object.d.
Comment 1 Adam D. Ruppe 2023-12-21 23:49:05 UTC
This will not make a significant difference. .di files almost never do.
Comment 2 elpenguino+D 2023-12-21 23:57:14 UTC
I'm excited to see the benchmarks showing the faster compile times!
Comment 3 Adam D. Ruppe 2023-12-24 13:03:27 UTC
See the link here for some empirical analysis:

https://forum.dlang.org/post/qhpilpyuiptlvlajoczr@forum.dlang.org

There is no reason to believe that changing the filename will improve anything, so closing this as invalid.