id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
126	optimize load_bytecode, .include paths: no library/ and include/ prefix	rurban	rurban	"Currently 70 files do [[BR]]
  load_bytecode ""library/Stream/Sub.pir"" [[BR]]
instead of [[BR]]
  load_bytecode ""Stream/Sub.pir""

Similar with .include

The library search path for load_bytcode has first the ${libdir}/library, and then ${libdir}
Similar for .include with ${libdir}/include and then ${libdir}.

This ticket is for discussion to optimize away the superfluous ""library/"" and ""include/"" prefixes. It will save 3 stats - every extension is also tried on failure, even we if give an extension.

This is similar to TT#123, but just optional, TT#123 is mandatory.

2nd) load_bytecode ""Stream/Sub.pir"" should be changed to load_bytecode ""Stream/Sub"", because we compile it to pbc, but the pir is picked up. The library search will find the best extension.

See also TT #127 for the extension optimization."	todo	closed	minor		none	branch	low	wontfix	pdd30install			rejected	all
