Next: , Previous: , Up: The GNAT Library   [Contents][Index]


12.49 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.