mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Add comment about memoization
This commit is contained in:
parent
05b0e97dce
commit
ea0b445f74
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ function makeKindFilePath ({ kindSlug, number }) {
|
|||
return `${ apiDirectory }${ makeKindEndpoint({ kindSlug, number }) }.json`
|
||||
}
|
||||
|
||||
|
||||
// This may provide better performance via memoization
|
||||
export class KindList extends PaginatedList {
|
||||
constructor({
|
||||
list,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue