-
Notifications
You must be signed in to change notification settings - Fork 439
Open
Description
On 5/28, we took a hit on compilation time , likely because code added to the Sort module in #27277.
That's a really unfortunate side effect of using sorting in some of our internal modules, mostly around non-DR domains. Can we do something to avoid that hit?
Right now, sort is used in:
dsiSortedet al: the only usage ofdsiSortedandsortedseems to be in theSortmodule, at least in the module code. Can we makesortedon associative domains a tertiary method in theSortmodule instead?- ChapelArray: this seems to have a workaround code for exposing the default comparator. I haven't pulled on that thread to see what would break if we were to try something else. Besides, as long as we are not calling
sort, maybe it is touse Sort? bulkAdd_prepareInds: This has to sort indices before adding for faster operation. I am not sure if there is a good way around this. A potential solution is to create a utility module for sparse operations and move bulk addition there, but note that+=on sparse domains also needs this.
Metadata
Metadata
Assignees
Labels
No labels