Next: , Previous: GNAT Bubble_Sort_A g-busora ads, Up: The GNAT Library


12.46 GNAT.Bubble_Sort_G (g-busorg.ads)

Similar to Bubble_Sort_A except that the move and sorting procedures are provided as generic parameters, this improves efficiency, especially if the procedures can be inlined, at the expense of duplicating code for multiple instantiations.