Commit 8679758
UTIL:
This helper is heavily used, including in hot paths.
Since number of domains used is very limited, hash table used for caching
should be very small and lookup much more efficient as compared with
`sss_tc_utf8_str_tolower()`
Assisted-by: Claude Code (Opus 4.6)
Reviewed-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
(cherry picked from commit a5b77e4)sss_create_internal_fqname() optimization (caching)1 parent d3634cc commit 8679758
1 file changed
+58
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
641 | 695 | | |
642 | 696 | | |
643 | 697 | | |
644 | 698 | | |
645 | 699 | | |
646 | 700 | | |
647 | | - | |
648 | | - | |
| 701 | + | |
649 | 702 | | |
650 | 703 | | |
651 | 704 | | |
652 | 705 | | |
653 | 706 | | |
654 | 707 | | |
655 | | - | |
| 708 | + | |
656 | 709 | | |
657 | | - | |
| 710 | + | |
658 | 711 | | |
659 | 712 | | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
| 713 | + | |
664 | 714 | | |
665 | 715 | | |
666 | 716 | | |
| |||
0 commit comments