On Wednesday, 16 August 2017 01:58:00 UTC+2, Eric Johnson wrote: > > [ ... ] > I'm happy to contributing to further exploring implementation, but I > figured I'd start by asking a question, in case someone is already working > in this direction. > > I was thinking that it ought to be possible to re-arrange modules in a package quite dramatically by "optimising" the import list. To be clearer, once the compiler or a similar tool has a memory image that contains all the imported modules, it ought to be able (with much effort, I allow) to redefine the module boundaries to match the import list: functions (and hopefully variables) dependent on different sets of imported packages would be relocated to distinct (output) modules.
I hope my lack of theoretical knowledge does not show too clearly in the above :-). Lucio. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.