Easier expression of file sizes and other data amounts
|Reported by:||nbachiyski||Owned by:|
In the spirit of #20987 writing 64 * 1024 * 1024 * 1024 * 1024 isn't very readable and cool.
Here is a patch, which adds a couple of constants like KB_IN_BYTES, MB_IN_BYTES, etc.
Change History (5)
comment:3 SergeyBiryukov — 16 months ago
- Keywords 3.6-early added
- Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.