-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further improve LG's performance (#4083)
* add templateBodyCache * update * re-do updateTemplate * improve perf for addTemplate and DeleteTemplate * add more tests and remove cache * adjust test * adjust * fix environment newline issue * try fix ci error * add tests * extract methods * refine * fix * revert * renaming and add more tests * add more comments * extract range offset
- Loading branch information
Showing
6 changed files
with
368 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/Microsoft.Bot.Builder.LanguageGeneration.Tests/Examples/CrudInit.lg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
> this is the lg file that is used to test the template crud | ||
> | ||
# template1 | ||
> this is an in-template comment | ||
- Hi | ||
- Hello | ||
- Hiya | ||
|
||
# template2 | ||
- Good morning | ||
- Good afternoon | ||
- Good night |
Oops, something went wrong.