From e7c03bb27eae96138f00e0dfb0df1b27bb5c2642 Mon Sep 17 00:00:00 2001 From: Cedd Burge Date: Sat, 9 Mar 2024 14:16:21 +0000 Subject: [PATCH] Update exercises/practice/allergies/.approaches/bitwise-and-case/content.md Co-authored-by: Jie --- .../practice/allergies/.approaches/bitwise-and-case/content.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/practice/allergies/.approaches/bitwise-and-case/content.md b/exercises/practice/allergies/.approaches/bitwise-and-case/content.md index ff057cb5..2aab8af4 100644 --- a/exercises/practice/allergies/.approaches/bitwise-and-case/content.md +++ b/exercises/practice/allergies/.approaches/bitwise-and-case/content.md @@ -45,7 +45,8 @@ You can see a variation of [a `Bitwise` and `case` expression solution on Exerci ## When to use this approach? -This is not as concise as some other solutions, but the code is all very simple and easy to read. It is the fastest solution. +This is not as concise as some other solutions, but the code is all very simple and easy to read. +It is the fastest solution of the different approaches. This approach makes the domain concept of using bit positions in an `Int` to represent a list of `Allergy` a little more explicit, using the bit masks.